package com.vmj.common;

import java.math.BigInteger;

/**
 * Created by yangshoujun on 2017/8/5 下午11:39.
 */
public class Bytes {

    public static String bytes2hex(byte[] bytes)
    {
        BigInteger bigInteger = new BigInteger(1, bytes);
        return bigInteger.toString(16).toUpperCase();
    }

    public static void main(String[] args) {

    }
}
